import Service from './$axios'
import { appName } from '../config';

//4.1 欠料管理
export const materialShortageMange = (data) => {
    return Service({
        url: `${appName}/partManage/materialShortageMange`,
        method: 'post',
        data: data
    })
}
// 4.2欠料管理详情
export const materialShortageMangeDetail = (data) => {
    return Service({
        url: `${appName}/partManage/materialShortageMangeDetail`,
        method: 'post',
        data: data
    })
}
// 4.2编辑交期
export const editDeliveryDate = (data) => {
    return Service({
        url: `${appName}/partManage/editDeliveryDate`,
        method: 'post',
        data
    })
}
//4.3 催回复
export const promptReply = (data) => {
    return Service({
        url: `${appName}/partManage/promptReply?${data}`,
        method: 'get',
    })
}
// 4.4取消
export const cancelShortage = (data) => {
    return Service({
        url: `${appName}/partManage/cancelShortage?${data}`,
        method: 'get'
    })
}
